<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:include="layout/header">
</head>
<body>
	<div id="fakeLoader"></div>
	<section class="content-header">
		<h3>医生排班</h3>
		<ol class="breadcrumb">
			<li><i class="fa fa-home"></i> 首页</li>
			<li>排班管理</li>
			<li class="active">医生排班</li>
		</ol>
	</section>
	<!-- Main content -->
	<section class="content">
		<div class="box">
			<div class="box-header">
				<h3 class="box-title">医生排班列表</h3>
			</div>
			<!-- /.box-header -->
			<div class="box-body">
				<div class="container">
					<!-- 查询条件 -->
					<div class="row">
						<form id="queryForm" class="form-horizontal">
							<div class="form-group">
								<label for="schedu_did" class="col-md-2 control-label">排班科室：</label>
								<div class="col-md-4">
									<select id="schedu_did" name="schedu_did"
										bindname="schedu_did"></select>
								</div>
								<label for="doc_id" class="col-md-2 control-label">排班医生：</label>
								<div class="col-md-4">
									<select id="doc_id" name="doc_id"
										bindname="doc_id"></select>
								</div>
							</div>
							<div class="form-group">
								<label class="col-md-2 control-label">排班日期： </label>
								<div class="col-md-6">
									<input class="form-control date form_date" name="start_date"
										bindname="start_date" type="text" readonly
										style="width: 45%; display: inline"> <span
										class="ml10 mr10">-</span> <input class="form-control date form_date"
										name="end_date" bindname="end_date" type="text" readonly
										style="width: 45%; display: inline">
								</div>
								<div class="col-md-2">
									<button id="queryBtn" type="button"
										class="btn btn-warning w100">
										<i class="fa fa-search"></i>查询
									</button>
								</div>
								<div class="col-md-2">
									<button id="addBtn" type="button" class="btn btn-primary w100">
										<i class="fa fa-plus-circle"></i>添加
									</button>
								</div>
							</div>
						</form>
					</div>
					<!-- 查询条件 -->
					<div class="row">
						<table data-class="table table-bordered" id="scheduListTable"  data-striped="true"
							data-pagination="true" data-side-pagination="client"
							data-page-size="10" data-page-list="[10, 20]" data-detail-view="true">
							<thead>
								<tr class="dataStore_title">
									<th data-field="schedu_hname" data-align="left" data-valign="middle"
										data-width="25%">排班医院</th>
									<th data-field="schedu_dname" data-align="left" data-valign="middle"
										data-width="25%">排班科室</th>
									<th data-field="doc_name" data-align="left"
										data-valign="middle" data-width="25%">排班医生</th>
									<th data-field="schedu_date" data-align="left"
										data-valign="middle" data-width="25%" data-formatter="dateFormatter">排班日期</th>
								</tr>
							</thead>
						</table>
					</div>
				</div>
			</div>
			<!-- /.box-body -->
		</div>
		<!-- /.box -->
	</section>
	<!-- /.content -->
	</div>
	<div th:include="layout/footer"></div>
	<script th:if="${projectModel=='dev'}" th:src="@{/static/js/business/scheduling/doctor/list.js(v=${#dates.createNow().getTime()})}"></script>
	<script th:if="${projectModel=='product'}" th:src="@{/static/js/business/scheduling/doctor/list.js}"></script>
</body>
</html>